<?php

namespace App\Http\Requests\Api;

use Illuminate\Validation\Rule;

class VerificationCodeRequest extends FormRequest {
    public function rules() {
        return [
            'captcha_key'=>'required|string',
            'captcha_code'=>'required|string'
        ];
    }
    public function attributes() {
        return [
            'captcha_key'=>'图形验证码缓存的key',
            'captcha_code'=>'图形验证码'
        ];
    }
}
